// 登录模快
import request from '@/utils/request'

export const login = data => request.post('/sys/login', data)

export const getUserInfo = () => request.get('/sys/profile')

// 修改密码
export const updatePassword = (data) => request({
  method: 'put',
  url: '/sys/user/updatePass',
  data
}
)
